<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="java.util.*" %>
<%@ page import="com.chanyachting.emall.util.*"%>
<%@ page import="com.chanyachting.emall.domain.*" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
    <div id="right">
    	<div class="vedio">
        	<div class="title">
        	  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="30%" align="center">&nbsp;</td>
                  <td width="25%" class="25%">游艇规格</td>
                  <td width="16%" class="25%">价格</td>
                  <td width="12%" align="center">城市</td>
                </tr>
              </table>
       	  </div>
            <div class="vedio_list">
                <ul>
                <logic:iterate id="sale" name="sellyachtForm" property="channelList" indexId="i">
                <% String hasStyle = "class=\"light\""; if(i % 2 == 1) { hasStyle = "";}  %>
                  <li <%=hasStyle %>>
                  		<bean:define id="subChannelName" name="sale" property="key"/>
            		    <% 
            		    	String scName = subChannelName.toString();
            		    	int scId = scName.lastIndexOf("&");
            		    	scName = scName.substring(0,scId);
            		    %>
                      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="normal">
                        <tr>
                          <td width="30%" align="center" class="xx"><img src="${sale.value.imgUrl }" alt="${sale.value.title }" /></td>
                          <td width="25%"><u>${sale.value.name }</u><br />
                            年：${sale.value.buildYear }<br />
           <bean:define id="saleObj" name="sale" property="value"/>
           <bean:define id="productType" name="saleObj" property="productCategoryId"/>
          <% String productTypeStr = CodeMap.getSaleTypeByKey(productType.toString()); %><%=productTypeStr %>
						<br />长度：${sale.value.length }m(257'10")<br />客房：${sale.value.roomNumber }间<br />载客${sale.value.maxPersonNumber }人<br /></td>
                          <td width="16%">${sale.value.productPrice }万</td>
                          <td width="12%" align="center">${sale.value.city }</td>
                        </tr>
                        <tr>
                          <td align="center" class="xx"><a href="readProduct01.do?id=${sale.value.companyId}&productId=${sale.value.id}" title="${sale.value.title}">${sale.value.title}</a></td>
                          <td>&nbsp;</td>
                          <td colspan="2" class="gray"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                              <td align="right"><a href="#"><img src="/chinayachting/images/st_09.gif" width="21" height="16" /></a></td>
                              <td><a href="#">Photo</a></td>
                            </tr>
                          </table></td>
                        </tr>
                      </table>
                  </li>
               </logic:iterate>
                </ul>
          </div>
   	  </div>
        
      <div class="page">${sellyachtForm.linkStr}</div>
        
    </div>